package com.steamedfish.auctionsecurityserveroauth2.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author 高山福
 * @since 2021-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user")
@ApiModel(value="UserEntiry对象", description="")
public class UserModel implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer code;

    @ApiModelProperty(value = "用户id")
    private String id;

    @ApiModelProperty(value = "学号")
    private String studentId;

    @ApiModelProperty(value = "真实姓名")
    private String name;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "用户邮箱")
    private String mail;

    @ApiModelProperty(value = "宿舍号")
    private String dormitoryNum;

    @ApiModelProperty(value = "班级")
    private String classroom;

    @ApiModelProperty(value = "qq")
    private String qq;

    @ApiModelProperty(value = "微信")
    private String wechat;

    @ApiModelProperty(value = "逻辑删除字段")
    @TableLogic
    private String deleted;


}
